package red.stu.pconstraint.dto.mapper.token;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.jetbrains.annotations.Nullable;

/**
 * 完成结束流程
 *      - 可通过name进行监听
 * @author yihrmc @stu.red
 * @date 2019/11/15 9:24
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class PassExpression extends BlockExpression {

    public static final String TYPE = "success";

    @Nullable
    private String name;

    public PassExpression() {
        super(TYPE);
    }
}
